package com.example.model.entity.other;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 聊天信息
*/
@Data
@ApiModel(description = "聊天信息")
public class ChatInfo {

    /** ID */
    @ApiModelProperty(hidden = true,value = "ID")
    private Integer id;
    /** 聊天用户ID */
    @ApiModelProperty(value = "聊天用户ID")
    private Integer chatUserId;
    /** 当前用户ID */
    @ApiModelProperty(value = "当前用户ID")
    private Integer userId;
    /** 聊天内容 */
    @ApiModelProperty(value = "聊天内容")
    private String text;
    /** 是否已读 */
    @ApiModelProperty(value = "是否已读")
    private String isread;
    /** 时间 */
    @ApiModelProperty(value = "时间")
    private String time;
    private String chatUserName;
    private String chatUserAvatar;
    private String userName;
    private String userAvatar;
    private Integer roleId;


}
